package org.cqut.system.resource.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.cqut.framework.web.domain.BaseEntity;

/**
 * 
 * @author XiAoXu
 * @TableName cw_resource
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="cw_resource")
@Data
@Accessors(chain = true)
public class Resource extends BaseEntity {
    /**
     * 资源Id
     */
    @TableId(value = "resource_id")
    private Long resourceId;

    /**
     * 资源名
     */
    @TableField(value = "resource_name")
    private String resourceName;

    /**
     * 资源类型
     */
    @TableField(value = "resource_type")
    private String resourceType;

    /**
     * 资源地址
     */
    @TableField(value = "resource_url")
    private String resourceUrl;

    /**
     * 资源大小
     */
    @TableField(value = "resource_size")
    private Long resourceSize;
}